import request from '../until/request.js';

//当前发行期
export const getCurrentIssue = () => request({
    url: '/release_issue',
    methods: 'get'
})

//购买
export const buySubscribe = (data) => request({
    url: '/subscribe',
    methods: 'post',
    data
})

//获取所有发行期
export const getAllIssue = () => request({
    url: '/index/all_release',
    methods: 'get'
})

//咨询
export const getConsult = () => request({
    url: '/infos/index',
    methods: 'get'
})

export const getConsultDetail = (data) => request({
    url: '/infos/detail/',
    methods: 'post',
    data:data
})
